Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / FontCollection Class / LoadFonts Method / LoadFonts(Byte[],Boolean) Method
The byte array with the font data.
Specifies if all the registered fonts should be added to the fallback font collection.

In This Topic
    LoadFonts(Byte[],Boolean) Method
    In This Topic
    Loads all fonts from a specified byte array into the collection.

    Use the RegisterFont method if there is a font file.

    Syntax
    'Declaration
     
    Public Overloads Function LoadFonts( _
       ByVal fontData() As System.Byte, _
       Optional ByVal addToFallbacks As System.Boolean _
    ) As System.Integer
    public System.int LoadFonts( 
       System.byte[] fontData,
       System.bool addToFallbacks
    )

    Parameters

    fontData
    The byte array with the font data.
    addToFallbacks
    Specifies if all the registered fonts should be added to the fallback font collection.

    Return Value

    The number of loaded fonts.
    See Also